package wf.dto.georef;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id; 
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
//import org.hibernate.annotations.NamedNativeQueries;
//import org.hibernate.annotations.NamedNativeQuery;
/**
 *
 * @author Rómulo Galindo Tanta
 */

@Entity
@NamedNativeQueries({
        @NamedNativeQuery(
	name = "georef.pflispun",
	query = "select * from georef.pflispun(:p_id_zongeo)",
	resultClass = pflispun.class
	)
})

public class pflispun implements Serializable {
    
    @Id
    @Column(name="or_zonpun")
    private short or_zonpun;
        
    @Column(name="id_zongeo")private int id_zongeo;
    @Column(name="id_pungeo")private int id_pungeo;
    @Column(name="nu_geolat")private double nu_geolat;
    @Column(name="nu_geolon")private double nu_geolon;

    public pflispun() {
    }

    public int getId_pungeo() {
        return id_pungeo;
    }

    public void setId_pungeo(int id_pungeo) {
        this.id_pungeo = id_pungeo;
    }
    
    public int getId_zongeo() {
        return id_zongeo;
    }

    public void setId_zongeo(int id_zongeo) {
        this.id_zongeo = id_zongeo;
    }

    public double getNu_geolat() {
        return nu_geolat;
    }

    public void setNu_geolat(double nu_geolat) {
        this.nu_geolat = nu_geolat;
    }

    public double getNu_geolon() {
        return nu_geolon;
    }

    public void setNu_geolon(double nu_geolon) {
        this.nu_geolon = nu_geolon;
    }

    public short getOr_zonpun() {
        return or_zonpun;
    }

    public void setOr_zonpun(short or_zonpun) {
        this.or_zonpun = or_zonpun;
    }

    
}
